package com.qk.management.mapper;

import com.qk.entity.Dept;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


@Mapper
public interface DeptMapper {
    void insert(Dept dept);

    Integer count(String name, Integer status);

    List<Dept> selectByPage(String name, Integer status, Integer offset, Integer pageSize);

    Dept selectById(Integer id);

    void update(Dept dept);

    void delete(Integer id);

    List<Dept> selectAll();
}
